MuleSoft Accelerator for SAP icon

MuleSoft Accelerator for SAP

(6 reviews)

Data lakes integration SAP S4HANA setup guide

Custom CDS View for Inventory Management

The following describes how to create a custom CDS View in S/4HANA Cloud to retrieve storage location information.

Step 1: Creating a CDS View

  1. Sign in to your S/4HANA Cloud instance and look for the Custom CDS View app.
  2. Click Create and complete the name of the new custom CDS view. For example:

    sap-cds-inventory-mgmt-setup-guide-01.png

  3. Select I_StorageLocation as the Primary Data Source:

    sap-cds-inventory-mgmt-setup-guide-02.png

    sap-cds-inventory-mgmt-setup-guide-03.png

  4. At the Elements step, click the Add button and select 'Elements':

    sap-cds-inventory-mgmt-setup-guide-04.png

  5. When the pop-up screen appears, select the element 'Storage Location Name':

    sap-cds-inventory-mgmt-setup-guide-05.png

    sap-cds-inventory-mgmt-setup-guide-06.png

  6. When finished, click the Publish button.

Step 2: Creating a custom communication scenario

Once the CDS view is published, you must create a custom communication scenario to allow the consumption of the view.

To create:

  1. Look for the Custom Communication Scenario app and click New:

    sap-cds-inventory-mgmt-setup-guide-07.png

  2. Define a name and description for the new communication scenario:

    sap-cds-inventory-mgmt-setup-guide-08.png

  3. On the Inbound Services tab, click the Add button and look for the CDS view that was created in the previous steps:

    sap-cds-inventory-mgmt-setup-guide-09.png

    sap-cds-inventory-mgmt-setup-guide-10.png

    sap-cds-inventory-mgmt-setup-guide-11.png

  4. When finished, click the Publish button.

Step 3: Creating a communication arrangement

The last step is to create a communication arrangement for the communication scenario.

To create:

  1. Go to the Communication Arrangement app and click the Create button:

    sap-cds-inventory-mgmt-setup-guide-12.png

  2. Look for the custom communication scenario from the previous step and click the Create button:

    sap-cds-inventory-mgmt-setup-guide-13.png

  3. Select or create a new communication system, which contains the technical user needed for basic authentication, and then click the Save button.

Reviews